/*
 * IAlgorithm.java
 * @author Andrey Tesler
 * Created for DiffView project
 * Created on 4 October 2009, 13:56
 */

package diffview;

import java.util.*;

/** The only purpose of an IAlgoritm is to create a model from two strings. */
public interface IAlgorithm {
    /**
     * This method creates an IModel from the two strings.
     * @param oldText - the text of the old version
     * @param newText - the text of the new version
     */
    IModel createModel(String oldText, String newText);
}
